/*
 * @Author: 9ilk 3535851673@qq.com
 * @Date: 2024-11-05 16:58:01
 * @LastEditors: 9ilk 3535851673@qq.com
 * @LastEditTime: 2024-11-05 22:47:19
 * @FilePath: /zhuang/namePipe/SeverMain.cc
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#include"Server.hpp"
#include<iostream>
using namespace std;


int main()
{   
   Server server;
   server.OpenPipe();
    //
    string message;
   while(true)
   {
    server.RecvPipe(&message);
    cout << "client say : " << message << endl;
   }
   server.ClosePipe();
    return 0;
}
